import { Field } from '@/dictionary/index.d';
/**
 * Created by liuzengrong on 2019/8/16.
 */
const user: Field[] = [
  {
    name: 'username',
    desc: '客户名称',
    dataType: 'string',
  },
  {
    name: 'mobile',
    desc: '手机号码',
    dataType: 'string',
  },
  {
    name: 'channel',
    desc: '渠道',
    dataType: 'string',
  },
  {
    name: 'gender',
    desc: '性别',
    dataType: 'select',
    options: [
      {
        key: '',
        value: '请选择',
      },
      {
        key: '0',
        value: '男',
      },
      {
        key: '1',
        value: '女',
      },
      {
        key: '2',
        value: '其他',
      },
    ],
  },
  {
    name: 'country',
    desc: '国家',
    dataType: 'string',
  },
  {
    name: 'province',
    desc: '省份',
    dataType: 'string',
  },
  {
    name: 'city',
    desc: '城市',
    dataType: 'string',
  },
  {
    name: 'email',
    desc: '邮箱',
    dataType: 'string',
  },

  {
    name: 'orderNum',
    desc: '成交数',
    dataType: 'string',
  },
  {
    name: 'lastOrderDate',
    desc: '最近下单时间',
    dataType: 'string',
  },
  {
    name: 'openId',
    desc: 'OPENID',
    dataType: 'string',
  },
];

export default user;
